package com.cloudeye.im.easemob;

import com.easemob.im.server.api.group.create.CreateGroupRequest;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

/**
 * @Author: lafangyuan
 * @Date: 2021/11/1 11:21
 */
public class EaseMobCreateGroupRequest extends CreateGroupRequest {

    @JsonProperty("invite_need_confirm")
    private boolean inviteNeedConfirm;

    public EaseMobCreateGroupRequest(String groupName, String description, boolean isPublic, String owner, List<String> members, int maxMembers, boolean memberCanInviteOthers, boolean needApproveToJoin) {
        super(groupName, description, isPublic, owner, members, maxMembers, memberCanInviteOthers, needApproveToJoin);
    }

    public boolean isInviteNeedConfirm() {
        return inviteNeedConfirm;
    }

    public void setInviteNeedConfirm(boolean inviteNeedConfirm) {
        this.inviteNeedConfirm = inviteNeedConfirm;
    }
}
